package com.bw.service;

import com.bw.dao.EduDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author 小郭同学
 * * @date 2025/2/19
 */
@Service
public class EduServiceImp implements EduService{
    @Autowired
    EduDao eduDao;

    @Override
    public List<Map> userCount() {
        return eduDao.userCount();
    }

    @Override
    public List<Map> sourceTotal(String newDate) {
        return eduDao.sourceTotal(newDate);
    }

    @Override
    public List<Map> newUser(String newDate) {
        return eduDao.newUser(newDate);
    }

    @Override
    public List<Map> orderCount(String newDate) {
        return eduDao.orderCount(newDate);
    }
}
